package com.example.hang.msgqueue;

import android.os.Handler;
import android.os.Looper;

/**
 * Created by hang on 2016-8-16.
 */

/**
 * 线程类
 */
public class CalThread extends Thread{
    public Handler mHandler;

    /**
     * 消息循环
     */
    @Override
    public void run(){
        Looper.prepare();
        mHandler = new MsgHandler();
        Looper.loop();
    }
}
